sysdir set PERSONAL "s:\users\khding\personal"
sysdir set PLUS "s:\users\khding\plus"

ssc install outreg2

ssc install binscatter

cap ado uninstall coefplot
cap ssc uninstall coefplot
ssc install coefplot

* LASSOPACK
*ssc install lassopack

* Install ftools (remove program if it existed previously)
cap ado uninstall ftools
ssc install ftools //, from("https://raw.githubusercontent.com/sergiocorreia/ftools/master/src/")

* Install reghdfe
cap ado uninstall reghdfe
cap ssc uninstall reghdfe
ssc install reghdfe //, from("https://raw.githubusercontent.com/sergiocorreia/reghdfe/master/src/")

* Install moremata (sometimes used by ftools but not needed for reghdfe)
cap ssc install moremata

* Install ivreg2, the core package
cap ado uninstall ivreg2
cap ssc uninstall ivreg2
cap ssc uninstall aver
cap ssc uninstall ranktest
cap ado uninstall ivreghdfe
cap ssc uninstall ivreghdfe

ssc install ivreg2
ssc install avar, replace
ssc install ranktest, replace

* Install ivreghdfe
ssc install ivreghdfe
*net install ivreghdfe, from(https://raw.githubusercontent.com/sergiocorreia/ivreghdfe/master/src/)

*findit grc1leg
net install grc1leg, from(http://www.stata.com/users/vwiggins)

* spmap
ssc install spmap
ssc install shp2dta
ssc install mif2dta

/*
* maptile
*net install msacrosswalk, from(https://raw.github.com/cbgoodman/msacrosswalk/master/) replace
ssc install maptile
maptile_install using "http://files.michaelstepner.com/geo_cbsa2013.zip"
maptile_install using "http://files.michaelstepner.com/geo_msacmsa2000.zip"
*/

* winsor2
ssc install winsor2

* egenmore
cap ssc uninstall egenmore
ssc install egenmore


ssc install did_imputation
ssc install did_multiplegt
ssc install eventstudyinteract
ssc install csdid

ssc install event_plot
